projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0bbb86
)
Avoid a harmless warning
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 29 Nov 2009 22:17:26 +0000
(17:17 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 29 Nov 2009 22:19:58 +0000
(17:19 -0500)
In labels with colored, underlined text, the link handling code
would spit out a warning, even if no links are around.
See 603302.
gtk/gtklabel.c
patch
|
blob
|
history
diff --git
a/gtk/gtklabel.c
b/gtk/gtklabel.c
index acf7f53bfad024e5b1b16b07aa545c108918ac2c..b470a454e46312cca9cc67004e175beefc8df8ed 100644
(file)
--- a/
gtk/gtklabel.c
+++ b/
gtk/gtklabel.c
@@
-5604,7
+5604,7
@@
gtk_label_rescan_links (GtkLabel *label)
PangoAttrIterator *iter;
GList *links;
- if (!label->select_info)
+ if (!label->select_info
|| !label->select_info->links
)
return;
attlist = pango_layout_get_attributes (layout);